package com.dsmbase.corp.project.domain;

import java.sql.Timestamp;

public class ProjectFlowNode {

	private int id;
	private int projectId;
	private int nodeId;
	private int planWorkLoad;
	private int actWorkLoad;
	private int status;
	private Timestamp startTime;
	private Timestamp endTime;
	private int userId;
	private int proxy;
	private int weight;
	
	public ProjectFlowNode(int id, int projectId, int nodeId, int planWorkLoad,
			int actWorkLoad, int status, Timestamp startTime, Timestamp endTime, int userId, int proxy, int weight) {
		this.id = id;
		this.projectId = projectId;
		this.nodeId = nodeId;
		this.planWorkLoad = planWorkLoad;
		this.actWorkLoad = actWorkLoad;
		this.status = status;
		this.startTime = startTime;
		this.endTime = endTime;
		this.setUserId(userId);
		this.proxy = proxy;
		this.weight = weight;
	}

	public ProjectFlowNode(int projectId, int nodeId, int planWorkLoad,
			int actWorkLoad, int status, Timestamp startTime, Timestamp endTime, int userId, int proxy, int weight) {
		this.projectId = projectId;
		this.nodeId = nodeId;
		this.planWorkLoad = planWorkLoad;
		this.actWorkLoad = actWorkLoad;
		this.status = status;
		this.startTime = startTime;
		this.endTime = endTime;
		this.setUserId(userId);
		this.proxy = proxy;
		this.weight = weight;
	}
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getProjectId() {
		return projectId;
	}
	public void setProjectId(int projectId) {
		this.projectId = projectId;
	}
	public int getNodeId() {
		return nodeId;
	}
	public void setNodeId(int nodeId) {
		this.nodeId = nodeId;
	}
	public int getPlanWorkLoad() {
		return planWorkLoad;
	}
	public void setPlanWorkLoad(int planWorkLoad) {
		this.planWorkLoad = planWorkLoad;
	}
	public int getActWorkLoad() {
		return actWorkLoad;
	}
	public void setActWorkLoad(int actWorkLoad) {
		this.actWorkLoad = actWorkLoad;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	public Timestamp getStartTime() {
		return startTime;
	}
	public void setStartTime(Timestamp startTime) {
		this.startTime = startTime;
	}
	public Timestamp getEndTime() {
		return endTime;
	}
	public void setEndTime(Timestamp endTime) {
		this.endTime = endTime;
	}

	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public int getProxy() {
		return proxy;
	}

	public void setProxy(int proxy) {
		this.proxy = proxy;
	}

	public int getWeight() {
		return weight;
	}

	public void setWeight(int weight) {
		this.weight = weight;
	}
}
